.SignUpDetail{
  width:100%;
  height:100%;
  overflow: hidden;
  transition: all 0.2s;
  position: absolute;
}

.choose_school{
  position: relative;
  top:0;
  display: flex;
  height:2rem;
}
img{
  font-size: 0;
  display: block;
}
.bg_chooseGrade{
  position: absolute;
  width: 100%;
  left:0;
  top:0;
}
.school_btn_box{
  position: absolute;
  top:0;
  left: 8%;
  width: 84%;
  display: flex;
  justify-content: space-between;
}
.grade_btn_box{
  position: absolute;
  top:3.5rem;
  left: 10%;
  width: 80%;
  height:2.5rem;
  overflow: scroll;
}
.grade_box1,.grade_box2{
  position: absolute;
  top:3.5rem;
  left: 20%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.school_primary{
  background: url('../assets/school_primary.png');
}
.school_primary_selected{
  background: url('../assets/school_primary_selected.png');
}
.school_middle_selected{
  background: url('../assets/school_middle_selected.png');
}
.school_high{
  background: url('../assets/school_high.png');
}.school_middle{
  background: url('../assets/school_middle.png');
}
.school_high_selected{
  background: url('../assets/school_high_selected.png');
}
.grade_1{
  top:0rem;
  background: url('../assets/grade_1.png');
}
.grade_1_selected{
  top:0rem;
  animation-duration:0.6s;
  background: url('../assets/grade_1_selected.png');
}
.grade_2{
  top:0.6rem;
  animation-delay:0.1s;
  background: url('../assets/grade_2.png');
}
.grade_2_selected{
  top:0.6rem;
  animation-duration:0.6s;
  background: url('../assets/grade_2_selected.png');
}
.grade_3{
  top:1.2rem;
  animation-delay:0.15s;
  background: url('../assets/grade_3.png');
}
.grade_3_selected{
  top:1.2rem;
  animation-duration:0.6s;
  background: url('../assets/grade_3_selected.png');
}
.grade_4{
  top:1.8rem;
  animation-delay:0.2s;
  background: url('../assets/grade_4.png');
}
.grade_4_selected{
  top:1.8rem;
  animation-duration:0.6s;
  background: url('../assets/grade_4_selected.png');
}
.grade_5{
  top:2.4rem;
  animation-delay:0.25s;
  background: url('../assets/grade_5.png');
}
.grade_5_selected{
  top:2.4rem;
  animation-duration:0.6s;
  background: url('../assets/grade_5_selected.png');
}
.grade_6{
  top:3rem;
  animation-delay:0.3s;
  animation-duration:0.6s;
  background: url('../assets/grade_6.png');
}
.grade_6_selected{
  top:3rem;
  animation-duration:0.6s;
  background: url('../assets/grade_6_selected.png');
}
.grade_7{
  top:0rem;
  background: url('../assets/grade_7.png');
}
.grade_7_selected{
  top:0rem;
  animation-duration:0.6s;
  background: url('../assets/grade_7_selected.png');
}
.grade_8{
  top:0.6rem;
  animation-delay:0.1s;
  background: url('../assets/grade_8.png');
}
.grade_8_selected{
  top:0.6rem;
  animation-duration:0.6s;
  background: url('../assets/grade_8_selected.png');
}
.grade_9{
  top:1.2rem;
  animation-delay:0.15s;
  background: url('../assets/grade_9.png');
}
.grade_9_selected{
  top:1.2rem;
  animation-duration:0.6s;
  background: url('../assets/grade_9_selected.png');
}
.grade_10{
  top:0rem;
  background: url('../assets/grade_10.png');
}
.grade_10_selected{
  top:0rem;
  animation-duration:0.6s;
  background: url('../assets/grade_10_selected.png');
}
.grade_11{
  top:0.6rem;
  animation-delay:0.1s;
  background: url('../assets/grade_11.png');
}
.grade_11_selected{
  top:0.6rem;
  animation-duration:0.6s;
  background: url('../assets/grade_11_selected.png');
}
.grade_12{
  top:1.2rem;
  animation-delay:0.15s;
  background: url('../assets/grade_12.png');
}
.grade_12_selected{
  top:1.2rem;
  animation-duration:0.6s;
  background: url('../assets/grade_12_selected.png');
}

.school_primary,
.school_middle,
.school_high,
.school_primary_selected,
.school_middle_selected,
.school_high_selected{
  height:3rem;
  width:30%;
  background-size: contain;
  background-repeat: no-repeat;
}
.grade_1,
.grade_1_selected,
.grade_2,
.grade_2_selected,
.grade_3,
.grade_3_selected,
.grade_4,
.grade_4_selected,
.grade_5,
.grade_5_selected,
.grade_6,
.grade_6_selected,
.grade_7,
.grade_7_selected,
.grade_8,
.grade_8_selected,
.grade_9,
.grade_9_selected,
.grade_10,
.grade_10_selected,
.grade_11,
.grade_11_selected,
.grade_12,
.grade_12_selected{
  position: absolute;
  height:0.6rem;
  width:52%;
  left:24%;
  background-size: contain;
  background-repeat: no-repeat;
}
.btn_sure_choosegrade,
.sure_grade,
.sure_alert,
.gradeText,
.ruleText,
.btn_wrap{
  position: absolute;
}
.btn_sure_choosegrade{
  height:1rem;
  width:55%;
  left:22.5%;
  top:6rem;
  background: url('../assets/btn_sure_choosegrade.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.sure_grade{
  width:100%;
  height:100%;
  top:0;
  left:0;
  background: rgba(0, 0, 0, 0.5);
  z-index:10000;
}
.sure_alert{
  width:80%;
  left:10%;
  top: 50%;
  transform: translateY(-50%);
}
.gradeText{
  width:60%;
  left:20%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.3rem;
  text-align: center;
  text-indent: 0.6em;
  letter-spacing: 0.6em;
  font-weight: 600;
  border-radius: 0.2rem;
  line-height: 1.5em;
}
.gradeText_primary{
  color: #ffae8b;
  border:1px solid #ffae8b;
}
.gradeText_middle{
  color: #ff96e7;
  border:1px solid #ff96e7;
}
.gradeText_high{
  color: #a3acff;
  border:1px solid #a3acff;
}
.ruleText{
  width:65%;
  left:17.5%;
  top: 57%;
  color: #999;
  transform: translateY(-50%);
  font-size: 0.25rem;
}
.btn_wrap{
  display: flex;
  position: absolute;
  top: 62%;
  width:65%;
  left:17.5%;
  justify-content: space-around;
}
.btn_reChoose{
  background: url('../assets/btn_reChoose.png');
}
.btn_sureGrade{
  background: url('../assets/btn_sureGrade.png');
}
.btn_reChoose,.btn_sureGrade{
  width:40%;
  height:0.6rem;
  background-size: contain;
  background-repeat: no-repeat;
}

// ipad竖屏
@media only screen and (min-device-width : 768px) and (max-device-height : 2000px) and (orientation : portrait){
  .SignUpDetail{
    width:100%;
    height:100%;
    overflow: scroll;
  }
  .btn_wrap{
    top: 67%;
  }
  .ruleText{
    top: 60%;
  }
}